package com.flute.framework.stringprocessor;

import com.flute.tools.util.PinyinUtil;
import com.flute.tools.util.StringUtil;

public class FuzzyPinyinStringProcessor implements IStringProcessor {

	@Override
	public String process(String string) {
		if (StringUtil.isCharOrNumberString(string)) {
			return "";
		}
		return StringUtil.getStringFromStringsWithUnique(PinyinUtil
				.getFuzzyPinyins(string));
	}
}
